package cn.roadtrip.mtravelbusinessmodule.util.api.ins.model;

import lombok.*;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class TrialOrderPriceRequest {
    private String accessToken;
    private String tokenCode;
    private String productCode;
    private String startTime;//yyyy-MM-dd HH:mm:ss
    private String endTime;//yyyy-MM-dd HH:mm:ss
    private java.util.List<TrialOrderPriceRequest.InsuredInfo> insureds;
//

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    @EqualsAndHashCode
    public static class InsuredInfo {
        /// <summary>
        /// 必须， 被保人人中文名
        /// </summary>
        private String cName;

        /// <summary>
        /// 必填，被保人证件类型
        /// </summary>
        private int cardType;

        /// <summary>
        /// 必填， 被保人证件号码
        /// </summary>
        private String cardNo;

        /// <summary>
        /// 必填，被保人出生日期，格式yyyy-MM-dd
        /// </summary>
        private String birthDay;
        private String sex;
    }


}

